﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IMES.Common.Dtos
{
    public class TaskDto : Audit
    {
        [Key]
        public int TasksId { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime PlanneStartTime { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime PlanneEndTime { get; set; }
        /// <summary>
        /// 计划数
        /// </summary>
        public int PlannedNumber { get; set; }
        /// <summary>
        /// 良品数
        /// </summary>
        public int GoodScore { get; set; }
        /// <summary>
        /// 不良品数
        /// </summary>
        public int DefectiveQuantity { get; set; }
        /// <summary>
        /// 实际开始时间
        /// </summary>
        public DateTime ActualStartTime { get; set; }
        /// <summary>
        /// 实际结束时间
        /// </summary>
        public DateTime ActualEndTime { get; set; }
        /// <summary>
        /// 工序管理编号
        /// </summary>
        public int ProcessID { get; set; }
        /// <summary>
        /// 逻辑删
        /// </summary>
        public bool Deletes { get; set; }
        public string? ProcessName { get; set; } //工序名称
        public int ProcessNumber { get; set; } //工序编号
        public int ReportingAuthority { get; set; }//报工权限
        public int Matching { get; set; } //报工数配比
        public string? AdverseList { get; set; } //不良品项列表
    }
}
